package com.tanker.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class UserController {
	
//	private final static Logger logger = LoggerFactory.getLogger(UserController.class);
//	@Autowired
//	private UserService userService;
//	@Autowired
//	private AuthService authService;
//	@Autowired
//	private MemService memService;
//
//	@ResponseBody
//	@RequestMapping(value = "SendAuth", method = RequestMethod.POST)
//	public SendAuthResponse sendAuth(@RequestBody SendAuthRequest request) {
//		logger.info("sendAuth start.");
//		ErrorCode code = ErrorCode.FAILED;
//    	SendAuthResponse resp = new SendAuthResponse();
//        try {
//        	code = authService.updateAuth(request);
//        	resp.setHead(new ResponseHead(code));
//		} catch (Exception e) {
//			logger.info("sendAuth exception; e={}", e);
//		}
//        return resp;
//    }
}
